package com.wkbb.sports.mapper;

import com.wkbb.common.base.BaseMapper;
import com.wkbb.sports.dto.PhysicalRuleDto;
import com.wkbb.sports.model.HlifePhysicalRule;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface HlifePhysicalRuleMapper extends BaseMapper<HlifePhysicalRule> {

    void delPhysicalRule(Map<String, Object> params);

	List<PhysicalRuleDto> getPhysicalRuleList();

	List<PhysicalRuleDto> queryRuleListByPhysicalIds(@Param("ids") String ids,@Param("gradeId") Long gradeId);

    HlifePhysicalRule getPhysicalByMap(Map<String, Object> param);

	List<HlifePhysicalRule> getPhysicalRuleListByPhysical(@Param("physicalId") long physicalId);
}